package cn.cboard.gateway;

import java.sql.ResultSet;



/**
 * @author
 *
 * 
 * General interface for converting a row from a result set to a strongly typed object 
 * like a DataObject or collection. Can also use CachedRowSets.
 */
public interface ResultSetConverter {

    
    /**
     * Given a ResultSet return an strongly typed object for a row of
     * data
     */
    public Object toObject(ResultSet rs) throws DAOException;

}
